<template>
  <el-card shadow="never">
    <div slot="header" class="card-header">
      <span>重点关注渠道</span>
    </div>
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="columnA" label="工号"> </el-table-column>
      <el-table-column prop="columnB" label="用户名称"> </el-table-column>
      <el-table-column prop="columnC" label="关注原因"> </el-table-column>
      <el-table-column prop="columnD" label="已关注时间"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination />
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  components: {
    Pagination
  },

  data() {
    return {
      tableData: [
        {
          columnA: '03569852',
          columnB: '李四',
          columnC: '异常业务',
          columnD: '1个月'
        },
        {
          columnA: '03569854',
          columnB: '黄菲',
          columnC: '异常业务',
          columnD: '2个月'
        },
        {
          columnA: '03568541',
          columnB: '关磊',
          columnC: '开通5G',
          columnD: '1个月'
        },
        {
          columnA: '03569858',
          columnB: '武易',
          columnC: '异常业务',
          columnD: '1个月'
        },
        {
          columnA: '03514175',
          columnB: '李一',
          columnC: '新套餐',
          columnD: '4个月'
        },
        {
          columnA: '03521154',
          columnB: '孔明',
          columnC: '开通5G',
          columnD: '3个月'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
